package shop.services.common;

import shop.core.common.dao.page.PagerModel;

import java.math.BigDecimal;

/**
*商品规格
*/
public class Spec extends PagerModel {
    //主键
    private String id;
    //商品ID
    private String productID;
    //商品组合(用,隔开)
    private String combination;
    //规格进价
    private BigDecimal cost;
    //规格库存
    private Integer stock;
    //规格现价
    private BigDecimal price;
    //创建时间
    private String createTime;
    //创建者
    private String createUser;
    //更新时间
    private String updateTime;
    //更新者
    private String updateUser;

    public void setId(String id){
        this.id = id;
    }

    public String getId(){
        return this.id;
    }

    public void setProductID(String productID){
        this.productID = productID;
    }

    public String getProductID(){
        return this.productID;
    }

    public void setCombination(String combination){
        this.combination = combination;
    }

    public String getCombination(){
        return this.combination;
    }

    public void setCost(BigDecimal cost){
        this.cost = cost;
    }

    public BigDecimal getCost(){
        return this.cost;
    }

    public void setStock(Integer stock){
        this.stock = stock;
    }

    public Integer getStock(){
        return this.stock;
    }

    public void setPrice(BigDecimal price){
        this.price = price;
    }

    public BigDecimal getPrice(){
        return this.price;
    }

    public void setCreateTime(String createTime){
        this.createTime = createTime;
    }

    public String getCreateTime(){
        return this.createTime;
    }

    public void setCreateUser(String createUser){
        this.createUser = createUser;
    }

    public String getCreateUser(){
        return this.createUser;
    }

    public void setUpdateTime(String updateTime){
        this.updateTime = updateTime;
    }

    public String getUpdateTime(){
        return this.updateTime;
    }

    public void setUpdateUser(String updateUser){
        this.updateUser = updateUser;
    }

    public String getUpdateUser(){
        return this.updateUser;
    }

}
